home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Me-Mz
/
Meso.cpt
/
Mesopotamia 0.9
/
card_12672.txt
< prev
next >
Wrap
Text File
|
1987-12-05
|
2KB
|
65 lines
-- card: 12672 from stack: in.9
-- bmap block id: 15638
-- flags: 0000
-- background id: 11179
-- name: cun1
-- part 1 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=458 top=301 right=335 bottom=504
-- title width / last selected line: 0
-- icon id / first selected line: 24317 / 24317
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Go first
----- HyperTalk script -----
on mouseUp
set lockscreen to true
go card "tline"
hide background field "one"
hide background field "two"
hide background field "three"
hide background field "four"
set lockscreen to false
visual effect dissolve
go to card "tline"
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=370 top=260 right=296 bottom=405
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: right dogear
----- HyperTalk script -----
on mouseUp
-- this script handles a diagonally divided button, intended to be
-- a right dogear
put (item 1 of the clickLoc) - (item 1 of the rect of the target) into x
put (item 4 of the rect of the target) - (item 2 of the clickLoc) into y
if (x < y) then -- click is in upper left
visual effect wipe left
play "click"
go to next card
else
visual effect wipe right
play "click"
go card "cun6"
end if
end mouseUp